<!DOCTYPE html> 
<html> 
<head> 
	<meta  charset="utf-8" />
	<title>标题</title>
	<meta name="viewport" content="width=device-width, initial-scale=1"> 
	<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
	<link rel="stylesheet" href="__PUBLIC__/Css/jquery.mobile-1.2.0.css" />
	<script src="__PUBLIC__/js/jquery-1.7.2.min.js"></script>
	<script src="__PUBLIC__/js/jquery.validate.js"></script>
    <script src="__PUBLIC__/js/messages_cn.js"></script>
	<script src="__PUBLIC__/js/jquery.mobile-1.2.0.js"></script>
</head> 
<body>
　<div data-role="page">

　　<div data-role="header" data-position="fixed">
　　　<a href="__APP__/Index/index" rel="external" data-role="button" data-icon="home">主页</a>
           <div style="text-align:center;" >业务管理</div>   
           <a href="__URL__/add" rel="external" data-role="button" data-icon="plus" data-theme="a" >新增</a>
　　</div>
　　<!-- /header -->
　　　<div data-role="content"> 
<ul data-role="listview" >
 <volist name="list" id="vo">
 <li><a href="__URL__/read/id/{$vo['id']}" rel="external"  data-rel="dialog">{$vo.companyname}</a>
 <div>
     <font size="2">  联系人:{$vo.linkname}&nbsp;&nbsp;联系电话:{$vo.phone}&nbsp;&nbsp;公司地址:{$vo.address}</font> </div>
      <span class="ui-li-count"><a href="__URL__/goodsadd/id/{$vo['id']}" rel="external" style="text-decoration:none"><font size="3">添加商品</font></a>&nbsp;&nbsp;<a href="__URL__/edit/id/{$vo['id']}" rel="external" style="text-decoration:none"><font size="3">修改</font></a> &nbsp;&nbsp;<a href="#popupDialog"  data-position-to="window" data-rel="popup"   style="text-decoration:none"><font size="3">删除</font></a></span>
     </li>
      <div data-role="popup" id="popupDialog">
 <div data-role="header"><h1>删除信息</h1></div>
 <div data-role="content">
<h1>你确定要删除吗?</h1>
<div data-type="horizontal" data-role="controlgroup">
<a href="__URL__/delete/ids/{$vo['id']}" rel="external" data-role="button" class="ui-btn-active" data-ajax="false" >删除</a><a href="#" onclick="quxiao();" data-role="button">取消</a>
</div>
<script type="text/javascript">
	  function quxiao()
	  {
		  $( "#popupDialog" ).popup( "close" );
	  }
	</script>
</div>
</div>
</volist>
</ul>


</div>

　　<!-- /content -->

　　<div data-role="footer" data-position="fixed" data-theme="e" >
<div style="text-align:center;height:10px;" data-type="horizontal" data-role="controlgroup">
{$page}
</div>
　</div><!-- /footer -->
　</div><!-- /page -->


</body>
</html>
